﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TomNet.IMSC.Model.Infrastructure;

namespace TomNet.IMSC.Model.DbModels.Organization
{
    /// <summary>
    /// 经纪人表
    /// </summary>
    public class Users : GeneralBase<int>
    {
        /// <summary>
        /// 老系统ID
        /// </summary>
        public int OldID { get; set; }
        /// <summary>
        /// 中介ID
        /// </summary>
        public int IntermediaryID { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        [StringLength(50)]
        public string Name { get; set; }
        /// <summary>
        /// 性别 1 男 2 女
        /// </summary>
        public int Sex { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        [StringLength(50)]
        public string Phone { get; set; }
        /// <summary>
        /// 头像
        /// </summary>
        //[StringLength(50)]
        public string Portrait { get; set; }
        /// <summary>
        /// 宣言
        /// </summary>
        [StringLength(255)]
        public string Declaration { get; set; }
        /// <summary>
        /// 从业年限
        /// </summary>
        public int OperationPeriod { get; set; }
        /// <summary>
        /// 开户银行
        /// </summary>
        [StringLength(50)]
        public string AccountBank { get; set; }
        /// <summary>
        /// 开户名
        /// </summary>
        [StringLength(50)]
        public string AccountUserName { get; set; }
        /// <summary>
        /// 开户帐号
        /// </summary>
        [StringLength(50)]
        public string AccountNumber { get; set; }
        /// <summary>
        /// 当前城市ID
        /// </summary>
        [StringLength(50)]
        public string CityID { get; set; }
    }
}
